package com.example.taskdemo.tasks;

import com.example.taskdemo.bean.PlayData;
import com.example.taskdemo.hanlder.AIUILocalHandler;

public class PlayTask extends BaseTask{
    PlayData playData;
    public PlayData getPlayData(){
        return playData;
    }
    public  PlayTask(PlayData playData){
        this.playData = playData;
        setTaskState(TASKSTATE.INIT);
        playData.setPlayState(PlayData.PLAYState.INIT);
    }

    @Override
    public String toString() {
        return "PlayTask{" +
                "playData=" + playData +
                '}';
    }
}
